Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use naked_asm! in #[naked] functions #686

Merged
merged 1 commit into from
Sep 11, 2024

Conversation

folkertdev
Copy link
Contributor

Part of an effort to stabilize #[naked] functions rust-lang/rust#90957

This PR uses naked_asm! instead of asm! in all #[naked] functions, and removes options(noreturn) which is implicit with naked_asm!

the PR introducing naked_asm! just got merged rust-lang/rust#130146, so it'll likely take some time before this can get merged. Does compiler-builtins use the latest nightly, or is it a little behind?

cc @Amanieu

@tgross35
Copy link
Contributor

rust-lang/rust#130146 only recently merged so this just needs to wait for the nightly (few hours after 00:00 UTC)

@folkertdev
Copy link
Contributor Author

all good now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants